package test;

import org.apache.commons.codec.digest.DigestUtils;

public class test1 {
    public static void main(String[] args) {
        String slat = "mszlu!@#";   //md5加密的盐

        String password="123456";
        password = DigestUtils.md5Hex(password + slat);  //加密

        System.out.println(password);

    }
}
